package com.hang.gymmanager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hang.gymmanager.entity.PlaceUseRecordEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.time.LocalDate;
import java.util.List;

@Mapper
@Component
public interface PlaceUseRecordMapper extends BaseMapper<PlaceUseRecordEntity> {
    List<LocalDate> getAbleDate(@Param("placeId") Integer placeId,
                                @Param("now") LocalDate now);
}
